package com.ruoyi.daily.controller;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.daily.domain.dto.*;
import com.ruoyi.daily.mapper.CollectingMonitorMapper;
import com.ruoyi.daily.service.MonitoringStationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author cmz
 * @Date 2024-06-03 10:15
 */
@RestController
@RequestMapping("/daily/monitoringStation")
@Api(tags = "经营日报-监控台")
public class MonitoringStationController {
    @Resource
    private MonitoringStationService monitoringStationService;
    
    
    @ApiOperation("监控台")
    @GetMapping("/monitoringStation")
    public R<MonitoringStationDto> monitoringStation() {
        return monitoringStationService.monitoringStation();
    }

    /*@ApiOperation("时效监控")
    @GetMapping("/timelinessMonitoring")
    public R<TimelinessMonitoringDto> timelinessMonitoring() {
        return monitoringStationService.timelinessMonitoring();
    }

    @ApiOperation("操作质量")
    @GetMapping("/operationQuality")
    public R<OperationQualityDto> operationQuality() {
        return monitoringStationService.operationQuality();
    }

    @ApiOperation("网点工单")
    @GetMapping("/branchWorkOrder")
    public R<BranchWorkOrderDto> branchWorkOrder() {
        return monitoringStationService.branchWorkOrder();
    }
*/
//    @ApiOperation("我的工单")
//    @GetMapping("/myWorkOrder")
//    public R myWorkOrder() {
//        return monitoringStationService.myWorkOrder();
//    }
}
